﻿using Mt.Site.Core.WorkFlows.Enum;
using System;

namespace Mt.Site.Core.WorkFlows.Process.Models
{
    public class WfUserQueueItem
    {
        public long UserId { get; set; }

        public OperationType OperationType { get; set; }

        public Guid? ResponsibilityId { get; set; }

        public string Signal { get; set; }

        public string Signal2 { get; set; }

        /// <summary>
        /// 传阅人员的任务完成节点，默认null:当前步骤完成
        /// </summary>
        public Guid? TurnRoundUserEndNode { get; set; }

        /// <summary>
        /// true:新增的任务是作为并行完成的（任务添加人自己的当前任务不会结束，将来他办理后撤回时也不会删除这些Parallel=true的任务）
        /// </summary>
        public bool Parallel { get; set; }

        public WorkFlowOpSeverity Severity  { get; set; }

        public bool CanEditForm { get; set; }
    }
}